package com.bcbim.model_server_interface.component.vo;

import com.bcbim.model_server_interface.component.bo.ComponentTreeBO;
import lombok.Data;

import java.util.List;

/**
 * @Description: 组件树
 * @Author: ye
 * @Date: 2022/3/30
 * @Version: V1.0
 **/
@Data
public class ComponentTreeVO {
    private String id;
    private String title;
    private List<ComponentTreeVO> children;
    private String code;

    public ComponentTreeVO(ComponentTreeBO componentTreeBO) {
        id = componentTreeBO.getId();
        title = componentTreeBO.getTitle();
    }
}
